<template>
	<view class="item">
		<view class="header flex">
			<divimg class="img" :src="i.img"></divimg>
			<view class="box spaceAround">
				<view class="job">{{ i.job }}</view>
				<view class="user_name">
					{{ i.user_name }}
				</view>
				<view class="name">{{ i.name }}</view>
			</view>
		</view>
		<view class="address clamp">所在地区：{{ i.address }}</view>
		<view class="address profession clamp">所属行业：{{ i.profession }}</view>
		<view class="exhibition">
			<image class="icon" src="/static/images/wbz/address.png" mode=""></image>
			<view class="txt">展会号：C201</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'item',
		props: {
			i: {
				type: Object,
				default: () => {},
			},
		},
		data() {
			return {};
		},
	};
</script>
<style lang="scss" scoped>
	.item {
		margin: $submargin-width auto;
		width: $connet-width;
		min-height: 250rpx;
		overflow: hidden;
		background: #ffffff;
		border-radius: 20rpx;
		position: relative;
		.header {
			overflow: hidden;
			.img {
				margin: $submargin-width;
				width: 120rpx;
				height: 120rpx;
				border-radius: 50%;
				overflow: hidden;
			}
			.box {
				flex-direction: column;
				height: 120rpx;
				margin: $submargin-width;
				.user_name {
					font-size: $uni-font-size-14;
					font-family: Source Han Sans CN, Source Han Sans CN;
					font-weight: bold;
					color: #000000;
				}
				.job {
					font-size: $uni-font-size-12;
					color: $price-color;
				}
				.name {
					color: #000000;
					font-size: $uni-font-size-12;
				}
			}
		}
		.address {
			color: #999999;
			margin: $submargin-width;
			font-size: $uni-font-size-12;
		}
		.exhibition {
			position: absolute;
			right: 20rpx;
			top: 30rpx;
			display: flex;
			align-items: center;
			.icon {
				width: 12.73rpx;
				height: 23.35rpx;
				margin-right: 10rpx;
			}
			.txt {
				color: #000000;
				font-size: $uni-font-size-12;
			}
		}
	}
</style>
